<div class="mainbox">
    <div class="goods_list" style="margin:0">
        {{#if isresult}}
        	<p>正在查找</p>
        {{#else}}
	        {{#if goods.length}}
		        <p>查找相关“<b> {{$Cache.search_key}}</b>”的商品结果</p>
		        {{#each goods}}
		        <div class="listitem">
		            <div class="goodsimg">
		                <a href="#default/goods_details?id={{_id}}">
		                    <img src="{{preview_img_url}}?imageView/1/w/100/h/100" />
		                </a>
		            </div>
		            <div class="goodsinfo">
		                <a href="#default/goods_details?id={{_id}}">
		                    <div class="name">{{goods_name+" "}}
		                        <span class="detail">{{intro}}</span>
		                    </div>
		                </a>
		                <div class="sale">
		                    <div class="sitem">价格：
		                        <span class="price">{{price}}</span>
		                    </div>
		                    <div class="sitem">库存：{{num}}</div>
		                </div>
		            </div>
		        </div>
	        	{{/each}} 
	        {{#else}}
	        	<p>找不到相关“<b> {{$Cache.search_key}}</b>”的商品</p>
	        {{/if}}
        {{/if}}
    </div>
</div>
